<!DOCTYPE html>
<html class="no-js">
<head lang="en">

    <#include "../head_import.html" />

</head>
<body>
<#include "../include/top_nav.html">
    <div class="am-cf admin-main">

        <!-- sidebar start -->
        <#include "../config/left.html">
            <!-- sidebar end -->
            <!-- content start-->
            <div class="admin-content">
                <div class="am-cf am-padding">
                    <div class="am-fl am-cf"><@s.m "global.position"/>: <@s.m "product.discuss"/> - <@s.m "global.add"/></div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <form class="ropt">
                            <input type="submit" value="<@s.m "global.backToList"/>" onclick="this.form.action='list.do';"/>
                        </form>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <@p.form id="baseForm" action="o_save.do">
                        <@p.text label="discuss.name" name="name" required="true" class="required" maxlength="100"/>
                        <@p.td><@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/></@p.td>
                </@p.form>
            </div>
    </div>



    </div>

    </div>
</body>
</html>
<script type="text/javascript">
function getTableForm() {
	return document.getElementById('tableForm');
}
</script>
</head>
<body>
<div class="body-box">
<div class="rhead">
	<div class="rpos"><@s.m "global.position"/>: 在线客服 - 修改 </div>
	
	<form class="ropt">
		<input type="submit" value="返回" onclick="this.form.action='list.do';"/>
	</form>
	<div class="clear"></div>
</div>
<@p.form id="tableForm" action="o_update.do">
<@p.text colspan="1" width="50" label="客服昵称" name="name" value="${customerService.name!}"  required="true" class="required"/>
<@p.text colspan="1" width="50" label="客服账号" name="content" value="${customerService.content!}" required="true" class="required"  maxlength="11" help="QQ账号" helpPosition="2"/><@p.tr/>
<@p.text colspan="1" width="50" label="排序" name="priority"  value="${customerService.priority!10}" required="true" class="required"  maxlength="11"  help="默认10" helpPosition="2" />
<@p.radio colspan="1" width="50" label="禁用" name="disable" value="${customerService.disable!?string('true','false')}" required="true" list={"true":"global.true","false":"global.false"}/><@p.tr/>
<@p.td colspan="2" width="100">
<input type="hidden" name="id" value="${customerService.id}">
<@p.submit code="global.submit"/>&nbsp; <@p.reset code="global.reset"/></@p.td>
</@p.form>
</div>
<#include "/common/alert_message.html"/>
</body>
</html>